<?php

class Silk_Zgb_Block_Renderer_Address extends Mage_Adminhtml_Block_Widget_Grid_Column_Renderer_Abstract
{
	public function render(Varien_Object $row)
	{
		$id =  $row->getData($this->getColumn()->getIndex());
		$address = Mage::getModel('customer/address')->load($id);
		if($address && $address->getId())
		{
			return $address->format('oneline');
		}
		else
		{
			return "";
		}
		
		
	}
}